home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / disconnect < prev    next >
Encoding:
Text File  |  2001-03-21  |  671 b   |  24 lines

  1. Synopsis:
  2.    on [<modes>]disconnect [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever the ckient is disconnected from a server,
  6.    and it is unable to reconnect to the server itself (assuming the
  7.    AUTO_RECONNECT setting is turned on).  This would be any situation in
  8.    which the client would normally print the following message:
  9.  
  10.       *** Use /SERVER to connect to a server
  11.  
  12. Parameters:
  13.    $0    server disconnected from
  14.  
  15. Examples:
  16.    To customize the disconnection message:
  17.       on ^disconnect "*" {
  18.          echo *** Disconnected from $0 at $Z
  19.       }
  20.  
  21. See Also:
  22.    disconnect(1); set(5) auto_reconnect
  23.  
  24.